package com.qfedu.stussm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
@Data
public class TdormitoryDto {
    private Integer t_tdid;
    private String t_name;
    private String t_tdname;
    private Integer t_tdnumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date t_tddate;
}
